import sys
import pandas as pd

def load_scapy_csv(filename):
    data = pd.read_csv(filename)

    return len(data)


if __name__ == '__main__':
    file_a = sys.argv[1]
    file_b = sys.argv[2]
    file_c = sys.argv[3]

    len_a = load_scapy_csv(file_a)
    len_b = load_scapy_csv(file_b)
    len_c = load_scapy_csv(file_c)

    print('wired loss rate:', (len_a - len_b) / len_a)
    print('wireless loss rate:', (len_b - len_c) / len_b)